Skip to content

Conversation

@notkainoa
Copy link
Contributor

Change Terminal scrope tab selector to be a dropdown.

image

Improvements

  • Faster: Reduced unnecessary re-renders so the selector responds quicker
  • More accessible: Added proper descriptions for screen readers
  • Cleaner: Improved how the component handles its internal state

notkainoa and others added 3 commits December 14, 2025 16:58
- Convert Worktree/Global button tabs to Select dropdown component
- Add visual icons (TreePine for Worktree, Globe for Global)
- Improve space utilization and modernize terminal interface
- Maintain all existing functionality and disabled states
- Adjust dropdown width to accommodate icons and full text

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Add proper screen reader-only descriptions for ARIA attributes:
- terminal-scope-description: explains the selector's purpose
- workspace-disabled-reason: explains when workspace option is disabled
- global-disabled-reason: explains when global option is disabled

This resolves accessibility violations where aria-describedby referenced
non-existent elements.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Convert double quotes to single quotes for consistency
- Apply standard Prettier formatting rules
- Now passes npm run format:check

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Dec 15, 2025

@notkainoa is attempting to deploy a commit to the General Action Team on Vercel.

A member of the Team first needs to authorize it.

notkainoa and others added 3 commits December 14, 2025 20:07
Resolves merge conflicts in WorkspaceTerminalPanel.tsx by keeping the dropdown
selector implementation (feature of this PR) and removing conflicting tab-based
tooltip enhancements from main branch.

- Preserves dropdown UI with TreePine/Globe icons
- Maintains accessibility improvements and optimized telemetry imports
- Removes unused Tooltip component imports
- Type-check and lint validation passed

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Add comprehensive ARIA attributes for screen reader support
- Implement loading states during terminal switching
- Add automatic focus management for better UX
- Optimize theme calculation performance
- Improve error handling and user feedback
- Simplify terminal creation code

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@notkainoa notkainoa marked this pull request as ready for review December 15, 2025 16:22
@notkainoa notkainoa closed this Dec 19, 2025
@notkainoa notkainoa deleted the agent/strong-carpets-beam-1765757053350 branch December 19, 2025 18:41
@notkainoa notkainoa restored the agent/strong-carpets-beam-1765757053350 branch December 19, 2025 18:44
@notkainoa notkainoa reopened this Dec 19, 2025
@arnestrickmann
Copy link
Contributor

thanks for contributing! i'd prefer the options to be rendered without the icons because i think the tree icon is not super intuitive. otherwise looks great

Remove TreePine and Globe icons from terminal scope selector dropdown, keeping only text labels for cleaner appearance.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@notkainoa
Copy link
Contributor Author

Done. Removed the icons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants